Skip to content

Cleanup: Separate XrdCl fetch from promise handling#5102

Merged
eisenhauer merged 1 commit into
ornladios:masterfrom
eisenhauer:xrdcl-backend-promise-cleanup
Jun 29, 2026
Merged

Cleanup: Separate XrdCl fetch from promise handling#5102
eisenhauer merged 1 commit into
ornladios:masterfrom
eisenhauer:xrdcl-backend-promise-cleanup

Conversation

@eisenhauer

Copy link
Copy Markdown
Member

DoGet reported success via op->promise.set_value() on each of five exit paths; a path that forgot it would silently hang the waiter. Split into bool Fetch() (returns true/false, sets errorMsg) and RunGet(), which sets the promise once.

DoGet reported success via op->promise.set_value() on each of five exit
paths; a path that forgot it would silently hang the waiter. Split into
bool Fetch() (returns true/false, sets errorMsg) and RunGet(), which sets
the promise once.
@eisenhauer eisenhauer requested a review from pnorbert June 23, 2026 20:06
@eisenhauer eisenhauer merged commit beaebf9 into ornladios:master Jun 29, 2026
48 checks passed
@eisenhauer eisenhauer deleted the xrdcl-backend-promise-cleanup branch June 29, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants